<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8"/>
    <title>SSE Demo</title>
</head>
<body>
<div id="sse"></div>
<script>
    let sse = new EventSource('/sse-retry');
    sse.onmessage = function (evt) {
        document.getElementById('sse').innerHTML = evt.data;
    }
</script>
</body>
</html>